<?php
require_once 'FModel/Common/Dao/BaseDao.php';

class AdminBaseDao extends BaseDao {
            
	public function getConnection() {
		if(null != $this->connection){
			return $this->connection;
		}
		require_once 'Models/Admin/Dao/AdminConnectionFactory.php';
		$this->connection = AdminConnectionFactory::getInstance()->getConnection();
		return $this->connection;
	}

}

